from database import db


class Swiper(db.Model):
    __tablename__ = 'Swiper'
    id = db.Column(db.INTEGER(), primary_key=True, unique=True)
    isshow = db.Column(db.INTEGER(), nullable=False)
    image = db.Column(db.TEXT(), nullable=True)
    src = db.Column(db.TEXT(), nullable=True)
    type = db.Column(db.String(255, 'utf8mb4_unicode_ci'), nullable=True)
    activity = db.Column(db.INTEGER(), nullable=False)
